type net/netip.parseAddrError
22 uses
net/netip (current package)
netip.go#L124: return Addr{}, parseAddrError{in: s, msg: "missing IPv6 address"}
netip.go#L127: return Addr{}, parseAddrError{in: s, msg: "unable to parse IP"}
netip.go#L140: type parseAddrError struct {
netip.go#L146: func (err parseAddrError) Error() string {
netip.go#L162: return Addr{}, parseAddrError{in: s, msg: "IPv4 field has octet with leading zero"}
netip.go#L167: return Addr{}, parseAddrError{in: s, msg: "IPv4 field has value >255"}
netip.go#L174: return Addr{}, parseAddrError{in: s, msg: "IPv4 field must have at least one digit", at: s[i:]}
netip.go#L178: return Addr{}, parseAddrError{in: s, msg: "IPv4 address too long"}
netip.go#L185: return Addr{}, parseAddrError{in: s, msg: "unexpected character", at: s[i:]}
netip.go#L189: return Addr{}, parseAddrError{in: s, msg: "IPv4 address too short"}
netip.go#L209: return Addr{}, parseAddrError{in: in, msg: "zone must be a non-empty string"}
netip.go#L246: return Addr{}, parseAddrError{in: in, msg: "IPv6 field has value >=2^16", at: s}
netip.go#L251: return Addr{}, parseAddrError{in: in, msg: "each colon-separated field must have at least one digit", at: s}
netip.go#L258: return Addr{}, parseAddrError{in: in, msg: "embedded IPv4 address must replace the final 2 fields of the address", at: s}
netip.go#L262: return Addr{}, parseAddrError{in: in, msg: "too many hex fields to fit an embedded IPv4 at the end of the address", at: s}
netip.go#L269: return Addr{}, parseAddrError{in: in, msg: err.Error(), at: s}
netip.go#L293: return Addr{}, parseAddrError{in: in, msg: "unexpected character, want colon", at: s}
netip.go#L295: return Addr{}, parseAddrError{in: in, msg: "colon must be followed by more characters", at: s}
netip.go#L302: return Addr{}, parseAddrError{in: in, msg: "multiple :: in address", at: s}
netip.go#L314: return Addr{}, parseAddrError{in: in, msg: "trailing garbage after address", at: s}
netip.go#L320: return Addr{}, parseAddrError{in: in, msg: "address string too short"}
netip.go#L331: return Addr{}, parseAddrError{in: in, msg: "the :: must expand to at least one field of zeros"}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |